16 #include "fsl_power.h" 18 #include "gpio_driver.h" 19 #include "clock_config.h" 46 #define I2C_S1_SCL_PIN D15 47 #define I2C_S1_SDA_PIN D14 48 #define I2C_S1_DRIVER Driver_I2C4 49 #define I2C_S1_DEVICE_INDEX I2C4_INDEX 50 #define I2C_S1_SIGNAL_EVENT I2C4_SignalEvent_t 53 #define SPI_S_DRIVER Driver_SPI8 54 #define SPI_S_BAUDRATE 500000U 55 #define SPI_S_DEVICE_INDEX SPI8_INDEX
56 #define SPI_S_SIGNAL_EVENT SPI8_SignalEvent_t 59 #define HOST_S_DRIVER Driver_USART0 60 #define HOST_S_SIGNAL_EVENT HOST_SignalEvent_t 61 #define HOST_B_DRIVER Driver_USART1 62 #define HOST_B_SIGNAL_EVENT HOST_SignalEvent_t 65 #define ASK_USER_TO_RESUME(x) \ 66 static bool askResume = true; \ 67 static uint16_t samplesToProcess = x - 1; \ 68 if (askResume && !samplesToProcess--) \ 70 PRINTF("\r\n Specified samples processed, press any key to continue... \r\n"); \
The GPIO pin handle for KSDK.
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
status_t SMC_SetPowerModeWait(void *arg)
Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility...
gpioHandleKSDK_t BLUE_LED
status_t SMC_SetPowerModeVlpr(void *arg)
Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility...
gpioHandleKSDK_t GREEN_LED